package com.dao;

import com.entity.HyPayment;
import org.apache.ibatis.annotations.Mapper;

/**
 * @program: honye-fang
 * @description:
 * @author: Baiyyy
 * @create: 2025-02-14 22:06
 **/
@Mapper
public interface PaymentMapper {
    //加入支付信息
    Integer insertPayment(HyPayment hyPayment);

    //根据订单id查询支付信息
    HyPayment selectPaymentById(Long id);

    //更新支付状态
    int updatePaymentStatus(Long id, String paymentStatus);

}
